<template>
  <div id="app">
    <jiangButton type="warring" @click="myClick">我是按钮</jiangButton>
  </div>
</template>

<script>
import jiangButton from "@/components/jiang-button/index.vue";
export default {
  name: "app",
  components: {
    jiangButton,
  },
  data() {
    return {
      msg: "Welcome to Your Vue.js App",
    };
  },
  methods:{
    myClick(e) {
      console.log(e);
    }
  }
};
</script>

<style>
